package com.caohx.bms.service;

import com.caohx.bms.pojo.Book;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface IBookService {
    Book add(Book book, Long categoryId);
    Book edit(Book book, Long categoryId);
    void delete(Long id);
    Book get(Long id);
    Page<Book> listBooks(Pageable pageable);
}
